package com.wang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.pojo.DevControlFun;

import java.util.List;

/**
 * @author wcy
 * @date 2023-07-19 9:36
 */
public interface DevControlFunService extends IService<DevControlFun> {
    void updateDevControlFunNowStatus(Integer funId, Integer nowStatus);

    List<DevControlFun> selectDevControlFunByDevId(Integer devId);

    void editNowStatusByFunNameAndDevId(Integer devId, String funName1, Integer nowStatus);

    DevControlFun selectDevControlFunByDevIdAndFunName(Integer devId, String funName1);
}
